package com.liusand.service;

import com.liusand.dto.SetmealDto;
import com.liusand.pojo.PageInfo;
import com.liusand.pojo.Setmeal;
import com.liusand.vo.ClientSetmealVo;
import com.liusand.vo.SetmealAndDishVo;
import com.liusand.vo.SetmealVo;

import java.util.List;

/**
 * @author :liusha
 * packageName :com.liusand.service
 * fileName :SetmealService
 * creationTime :2022/11/27 10:13
 */
public interface SetmealService {
    boolean saveSetmeal(SetmealDto setmealDto);

    PageInfo<SetmealVo> page(String name, Integer page, Integer pageSize);

    SetmealAndDishVo findSetmealById(String id);

    boolean deleteSetmeal(List<String> ids);

    boolean updateSetmeal(SetmealDto setmealDto);

    boolean updateStatus(List<String> ids, Integer status);

    List<ClientSetmealVo> list(String categoryId, Integer status);

    ClientSetmealVo findSetmealByIdClient(String id);

}
